<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="icon" type="image/gif" href="slike/animated_favicon1.gif">
<script src="skripte/Cookies.js"></script>
<script src="skripte/proba1.js"></script>
<script src="jQuery/jquery-1.10.2.js"></script>
<script src="skripte/WSPrevoznik.js" charset="UTF-8"></script>
<LINK href="stilovi/users.css" rel="stylesheet" type="text/css">
<LINK href="stilovi/srednjeDugme.css" rel="stylesheet" type="text/css">
<LINK href="stilovi/navigacija.css" rel="stylesheet" type="text/css">
<LINK href="stilovi/coda-slider.css" rel="stylesheet" type="text/css">
<LINK href="stilovi/templatemo_style.css" rel="stylesheet" type="text/css">
<LINK href="stilovi/login.css" rel="stylesheet" type="text/css">

<title>Prevoznici</title>

</head>
<body>

<div id="slider">
 
	<div id="templatemo_main">
    	<ul id="social_box">
            <h1> Javna saobraćajna mreža Bosne i Hercegovine </h1>         
        </ul>
        
        <div id="content">
     
            <div class="scroll">
                <div class="scrollContainer">
                
                    <div class="panel" id="home">
                       <input type="button" class="btn" value="Nazad" onclick="location.href='index.html#gallery';">
								<br><br>
								<h4> Postojeći prevoznici:</h4>
						
						<div id="sve_role" >
						<table id="tblRole" border=0 align="left">
						<tr>
							<th>Naziv</th>
							<th>Broj Telefona</th>
							<th>E-mail</th>
							<th>Web stranica</th>
						</tr>
						</table>
						</div>
						<script type="text/javascript">

						var prevoznici=new Array();

						function insertPrevoznik(arg1,arg2,arg3,arg4){
	
						prevoznici.push(arg1,arg2,arg3,arg4);
						var fja="brisanje('"+arg1+"')";
						$('#tblRole').append("<tr>"
							+"<tr><td><name='"+arg1+"' value='"+arg1+"'>"+arg1+"</td>"
							+"<td>"+arg2+"</td>"
							+"<td>"+arg3+"</td>"
							+"<td>"+arg4+"</td>"
							+"<td><button type='button' onClick="+fja+">Obrisi prevoznika</button></td>");
						}
 
						function brisanje(sta){
						brisiPrevoznika(sta);
						}
						ucitajPrevoznike();
						</script>
						<div id="dodavanjePrevoznika">
						<h4><a href="insertPrevoznik.html">Dodaj novog prevoznika </a></h4>
						</div>
						
        	            </div> 
        	            
        	            
                 
						</div>
                    </div>
                
                </div>
			</div>
 
        
        </div> 
    </div> 
</body>
</html>